package Demo1;

/**
 * Created with  IntelliJ IDEA .
 * Description:
 * User: lenovo
 * Date: 2025-${ MONTH }-15
 * Time: 23:21
 */
public class Test {

    public static void main(String[] args) {

        Dog dog = new Dog();
        dog.name = "旺财";
        dog.bark();
        dog.eat();

        Cat cat = new Cat();
        cat.name ="小白";
        cat.eat();
        cat.mimi();
    }

}
